package com.fzu.express.utils;

import java.util.regex.Pattern;

/**
 * 通用工具类
 */
public class CommonUtil {

    public static boolean validPhone(String phoneNumber) {
        if ((phoneNumber != null) && (!phoneNumber.isEmpty())) {
            return Pattern.matches("^1[3-9]\\d{9}$", phoneNumber);
        }
        return false;
    }
}
